#ifndef CALCULATOR_H
#define CALCULATOR_H

#include "my_at89s52.h"


extern int current_num;

#define INVALID_OP	'#'

typedef struct {
	long left_op;
	long right_op;
	long result;
	char op;
	uchar op_count;
	char is_calculated;
	char is_overflow;
} Calculator;

void init();

#endif
